/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package JFreeChartExtensions.JChartMenu;

import JFreeChartExtensions.JChartMenu.ChartMenuListeners.AbstractChartMenuListener;
import javax.swing.JMenuItem;

/**
 *
 * @author Nobody
 */
public class JChartMenu extends JMenuItem {

    public JChartMenu(String text) {
         setText(text);
    }

    public void addListener(AbstractChartMenuListener abstractChartMenuListener) {
        addActionListener(abstractChartMenuListener);
    }

}
